package ch8;

public class Calc {
	@Test(before = "方法之前")
	public int add(int a, int b) {
		return a + b;
	}

	@Test(before = "方法之前", after = "方法执行结束后")
	public int takeaway(int a, int b) {
		return a - b;
	}

	public int mul(int a, int b) {
		return a * b;
	}

	public int divide(int a, int b) {
		return a / b;
	}
}
